6b9271d79c6c5fe6bc224dbbbb5bb029fb88ad08,src/main/java/org/orbeon/oxf/processor/scope/ScopeSerializer.java,ScopeSerializer,start,#PipelineContext#,31
Before Change
// Store into context
final ExternalContext externalContext = (ExternalContext) context.getAttribute(PipelineContext.EXTERNAL_CONTEXT);
if (config.getContextType() == ScopeProcessorBase.REQUEST_CONTEXT) {
externalContext.getRequest().getAttributesMap().put(config.getKey(), store);
} else if (config.getContextType() == ScopeProcessorBase.SESSION_CONTEXT) {
if (config.getSessionScope() == -1)
externalContext.getSession(true).getAttributesMap().put(config.getKey(), store);
After Change
// Find the map for the scope
Map<String, Object> map = null;
if (config.getContextType() == ScopeProcessorBase.REQUEST_CONTEXT) {
map = externalContext.getRequest().getAttributesMap();
} else if (config.getContextType() == ScopeProcessorBase.SESSION_CONTEXT) {
if (config.getSessionScope() == -1)
map = externalContext.getSession(true).getAttributesMap();